/**
 * 
 */
package org.lanqiao.netctoss.service;

import java.util.List;

import org.lanqiao.netctoss.entity.Tariff;

/**
 * @author Administrator
 *
 */
public interface TariffService {
	/**
	 * 添加资费
	 * @param tariff
	 * @return
	 */
	public int insTariff(Tariff tariff);
	/**
	 * 删除资费
	 * @param tariff
	 * @return
	 */
	public int delTariff(Tariff tariff);
	/**
	 * 修改资费
	 * @param tariff
	 * @return
	 */
	public int updTariff(Tariff tariff);
	/**
	 * 根据ID修改资费类型
	 * @param tariff
	 * @return
	 */
	public int updateTarStateByno(Tariff tariff);
	/**
	 * 查询所有资费
	 * @param tariff
	 * @return
	 */
	public List<Tariff> selTariff();
	/**
	 * 根据ID查询资费
	 * @param tariff
	 * @return
	 */
	public List<Tariff> selectTariffByno(Tariff tariff);
	/**
	 * 查询资费名称
	 * @param tariff
	 * @return
	 */
	public List<Tariff> selectTariffName();
}
